<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="com.jd.ty.pojo" >
	<class name="ProjectAttrValue" table="PROJECT_ATTR_VALUE" schema="TYMS">
		<id name="attrValueId" type="java.lang.Long">
			<column name="ATTR_VALUE_ID" precision="10" scale="0" />
			<generator class="identity">
			</generator>
		</id>
		<many-to-one name="customerOrder" class="CustomerOrder"  fetch="select">
			<column name="ORDER_ID" precision="10" scale="0" 
				not-null="true" />
		</many-to-one>
		<many-to-one name="projectAttribute" class="ProjectAttribute" lazy="false"  fetch="select">
			<column name="ATTR_ID" precision="10" scale="0"
				not-null="true" />
		</many-to-one>
		<property name="attrValue" type="string" >
			<column name="ATTR_VALUE"  length="100"/>
		</property>
	</class>
</hibernate-mapping>
